Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a basic linting workflow for Go projects while fixing some linter errors. Key changes include:
- Adding a GitHub Actions workflow (.github/workflows/lint.yaml) that verifies code formatting and dependency integrity.
- Providing a golangci-lint configuration file (.golangci.yml) with standard linters enabled.
- Refactoring code in multiple packages (cmd, pkg) to address linter issues, such as unused parameter handling and minor stylistic improvements.
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/lint.yaml | Adds a lint workflow to check Go files and verify dependencies. |
| .golangci.yml | Introduces basic configurations for golangci-lint. |
| cmd/mcpcurl/main.go | Refines import order and updates function signature parameters for unused arguments. |
| pkg/translations/translations.go | Updates function signatures to ignore unused parameters and changes error handling in DumpTranslationKeyMap. |
| cmd/github-mcp-server/main.go | Updates command functions to use underscore for unused arguments and adjusts viper flag binding. |
| pkg/github/*_test.go | Refactors HTTP handler functions to ignore unused request parameters, ensuring cleaner test code. |
| pkg/github/server.go | Ignores an unused parameter in an inline callback, improving consistency. |
Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon. Learn more
SamMorrowDrums
approved these changes
Mar 26, 2025
Collaborator
SamMorrowDrums
left a comment
There was a problem hiding this comment.
Awesome, glad to see this housekeeping stuff getting into the project before I embarrass myself too hard 😂
DaleSeo
pushed a commit
to DaleSeo/github-mcp-server
that referenced
this pull request
Oct 24, 2025
* Verify added servers in CI. * Fix typo. * Cat the catalog for better visibility. * Add setup stuff. * Remove buildx.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
This PR adds a lint workflow with a basic configuration. It also fixes the initial linter errors it reports.